package com.chris.easymallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chris.common.utils.PageUtils;
import com.chris.easymallproduct.dto.AttrDto;
import com.chris.easymallproduct.entity.AttrEntity;
import com.chris.easymallproduct.vo.AttrInfoVo;

import java.util.Map;

/**
 * 商品属性
 *
 * @author chris
 * @email wysiwyg7@163.com
 * @date 2022-08-14 19:42:02
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils baseList(Map<String, Object> params ,Long id);

    void save(AttrDto dto);

    AttrInfoVo getInfo(Long attrId);

    void update(AttrDto attr);


    PageUtils saleList(Map<String, Object> params, Long id);
}

